package com.mgq.java8.lambda;

/**
 * 信
 * @author 马广奇
 * @version 2022-03-26 17:14
 */
public class Letter {
    /**
    *加头
    */
    public static String addHeader(String text) {
        return "From maguangqi " + text;
    }
    /**
     *加结尾
     */
    public static String addFoot(String text) {
        return text + " kind regards";
    }
    /**
     *检查拼写
     */
    public static String checkSpell(String text) {
        return text.replace("labda", "lambda");
    }
}
